﻿using System.ComponentModel;
using System;

namespace CloudTaobao
{
    public class Contactor
    {
        public string nickName{get;set;}
        public string UID{get;set;}
        public string LastDate{get;set;}


        public Contactor()
        {
            nickName = "";
            UID = "";
            LastDate = "";
        }

        public override bool Equals(object obj)
        {
            if (obj == null)
                return false;
            Contactor tmp = (Contactor)obj;
            if (tmp.nickName == null)
                return false;
            if (tmp.nickName.Equals(nickName))
                return true;
            else
                return false;
        }
    }

}
